//
//  TopicsModel.m
//  QuickReadComic
//
//  Created by 苗钧豪 on 16/9/5.
//  Copyright © 2016年 苗钧豪. All rights reserved.
//

#import "TopicsModel.h"

@implementation TopicsModel
- (void)setValue:(id)value forKey:(NSString *)key {
    [super setValue:value forKey:key];
    if ([key isEqualToString:@"user"]) {
        _user = [UserModel modelWithDic:value];
    }
}
- (void)setValue:(id)value forUndefinedKey:(NSString *)key {
    if ([key isEqualToString:@"description"]) {
        _descriptions = value;
    }
}
@end
